export interface AdminRecord {
	_id: string;
	username: string;
	password?: string;
	gender: number;
	age: number;
	status: number;
	mobile: string;
	email: string;
	avatar: string;
	description: string;
	city: string;
	roles: string;
	createdTime: string;
	updatedTime: string;
}
export interface RecordListItem {
	adminId: string | null;
	content: string;
	linkId: string;
	timeStamp: number;
	type: 1 | 2;
	avatar: string;
}
export interface MessageRecord extends Omit<AdminRecord, "createdTime"> {
	from?: string;
	to?: string;
	unRead: number;
	content?: string;
	// recordList?: RecordListItem[];
}
export type FilterQuery = Partial<AdminRecord | Record<keyof AdminRecord, { like: boolean; value: unknown }>>;
export type FilterAdminKeys = "username" | "status" | "mobile" | "email" | "city" | 'roles';
